package com.example.demo.model.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

// 2. 外部API请求模型（与示例中JSON格式一致）
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiRequest {
    private Double gpa;
    private Integer cet4;
    private Double math1;
    private Double math2;
    private Double english1;
    private Double english2;
    private Double english3;
    private Double english4;

    public Double getGpa() {
        return gpa;
    }

    public void setGpa(Double gpa) {
        this.gpa = gpa;
    }

    public Integer getCet4() {
        return cet4;
    }

    public void setCet4(Integer cet4) {
        this.cet4 = cet4;
    }

    public Double getMath1() {
        return math1;
    }

    public void setMath1(Double math1) {
        this.math1 = math1;
    }

    public Double getMath2() {
        return math2;
    }

    public void setMath2(Double math2) {
        this.math2 = math2;
    }

    public Double getEnglish1() {
        return english1;
    }

    public void setEnglish1(Double english1) {
        this.english1 = english1;
    }

    public Double getEnglish2() {
        return english2;
    }

    public void setEnglish2(Double english2) {
        this.english2 = english2;
    }

    public Double getEnglish3() {
        return english3;
    }

    public void setEnglish3(Double english3) {
        this.english3 = english3;
    }

    public Double getEnglish4() {
        return english4;
    }

    public void setEnglish4(Double english4) {
        this.english4 = english4;
    }
}